// 所有的 state的派生属性
const getters={
    sidebar:(state)=>state.app.sidebar,
    account:state=>state.user.account, //账号
    username:state=>state.user.username, 
    type:state=>state.user.type,
    token:state=>state.user.token,
    locale:state=>state.lang.locale //默认语言集
}

export default getters;